package com.amigo.online.provider.manager.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import com.amigo.online.common.core.mybatis.MyMapper;
import com.amigo.online.provider.manager.model.entity.FollowTbl;

@Mapper
@Component
public interface FollowTblMapper extends MyMapper<FollowTbl> {
    /**
     * 关注查询
     *
     * @param followTbl
     * @return
     */
    List<FollowTbl> findTargetUser(FollowTbl followTbl);


    /**
     * 查询粉丝
     *
     * @param followTbl
     * @return
     */
    List<FollowTbl> findFansUser(FollowTbl followTbl);


    /**
     * 查询好友id
     *
     * @param followTbl
     * @return
     */
    List<FollowTbl> findFriendUserId(FollowTbl followTbl);

}
